package com.easy.dfc.mapper;


import com.easy.core.persistence.annotation.MyBatisMapper;
import com.easy.dfc.entity.FollowStoreList;
import com.easy.dfc.entity.Followstore;

import java.util.List;

@MyBatisMapper
public interface FollowstoreMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteByStore(Followstore followstore);

    int insert(Followstore record);

    int insertSelective(Followstore record);

    Followstore selectByPrimaryKey(Integer id);

    Followstore selectFollow(Followstore followstore);

    List<FollowStoreList> selectFollowList(String userId);

    List<FollowStoreList> selectFollowByFactoryIdList(String factoryId);

    int updateByPrimaryKeySelective(Followstore record);

    int updateByPrimaryKey(Followstore record);
}